import axios from '../axios'

/*
 * 数据管理模块
 */

// 数据下载

export const downloadWord = () => {
  return axios({
    url: '/download/getWordFile',
    method: 'post',
    responseType: 'blob'
  })
}

export const getEvaluateData = () => {
  return axios({
    url: '/evaluate/getEvaluateData',
    method: 'get'
  })
}

export const downloadPdf = (data) => {
  return axios({
    url: '/download/getPdfFile',
    method: 'post',
    data
  })
}
export const findProveByCas = (params) => {
  return axios({
    url: '/evaluate/findProveByCas',
    method: 'get',
    params
  })
}
export const findPDFByCas = (params) => {
  return axios({
    url: '/evaluate/findPDFByCas',
    method: 'get',
    params
  })
}
export const downloadProve = (params) => {
  return axios({
    url: '/evaluate/downloadProve',
    method: 'get',
    params
  })
}
